<?
include_once('config.inc.php');
//$_SESSION["login"]
?>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<head>
<script>
function cleartitle()
{
	document.getElementById("error").innerHTML="";
}
</script>

</head>
<body>
<form action="filelist.php"  method="POST">
<table align="center" border="1" width="300" cellpadding="1" cellspacing="1">
<tr>
<td width="40%">
請輸入密碼
</td>
<td width="60%">
<input type="password" name="yh_mima" onkeyup="cleartitle();" id="yh_mima">
<span id="error">
<?
if($_REQUEST["error"]==1)
{
	unset($_SESSION["denglu"]);
	?>
	<font color="#ff0000">密碼錯誤</font>
	<?
}
?>
</span>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" value="登錄">
<input type="hidden" name="denglu" value="1">
</td>
</tr>
</table>
</form>
</body>
</html>